﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zen4SyncPOCO.POCO.Enum;
using Zen4SyncPOCO.POCO.MergeSync;
using Zen4SyncPOCO.POCO.SQLServerExecution;
using Zen4SyncPOCO.POCO.SQLCEExecution;
using Zen4SyncPOCO.POCO.SQLCEBackup;
using Zen4SyncPOCO.POCO.MEF;
using Zen4SyncPOCO.POCO.Enum.Scenario;
using System.Runtime.Serialization;

namespace Zen4SyncPOCO.POCO.Scenario
{
    /// <summary>
    /// Extends the Activity POCO with new attributes referring to the actual activity to perform.
    /// </summary>
    /// <remarks>
    /// In the database, we only have activity_activityItemId attribute which refers to the
    /// activityItem GUID.
    /// This partial class adds the actual reference to the activityItem entity throught an attribute.
    /// </remarks>
    public partial class Activity
    {
        /// <summary>
        /// Use this enum to easily know what is the activity type for this activity and thus
        /// retrieve the non-null activity item.
        /// </summary>
        public ActivityTypeEnum activity_activityTypeEnum { get; set; }

        public SyncSession activity_syncSession { get; set; }

        public SqlServerExecution activity_sqlServerExecution { get; set; }

        public SqlServerCheckData activity_sqlServerCheckData { get; set; }

        public SqlceExecution activity_sqlCeExecution { get; set; }

        public SqlceCheckData activity_sqlCeCheckData { get; set; }

        public SqlceBackup activity_sqlCeBackup { get; set; }

        public MefExecution activity_mefExecution { get; set; }
    }
}
